package com.jack.payment.dao.user;

import com.jack.payment.entity.generate.user.UserSettingModel;
import org.apache.ibatis.annotations.Param;

public interface UserSettingDao {

    /**
     * 获取用户的基础设置信息
     * @param userId
     * @return
     */
    UserSettingModel getAppointUserSetting(@Param("userId") String userId);

    /**
     * 新增用户基础设置信息
     * @param userSettingModel
     * @return
     */
    boolean insertUserSetting(UserSettingModel userSettingModel);

    /**
     * 根据id 修改指定的用户数据信息
     * @param userSettingModel
     * @return
     */
    boolean updateAppointUserSetting(UserSettingModel userSettingModel);

}
